import requests


url = 'http://httpbin.org/post'
# response = requests.get(url, params={
#     'name':'fcb',
#     'age': '21',
#     'like': 'eat'
# })
# response_text = response.text
# print(response_text)

# response =requests.post(url, data={
#     'name':'fcb',
#     'age': '21',
#     'like': 'eat'
# })
response =requests.post(url, params={
    'name':'fcb',
    'age': '21',
    'like': 'eat'
})

if response.status_code == 200:
    response_text= response.text
    print(response_text)
